package com.hzsai.schedule;

import org.springframework.stereotype.Component;

import java.lang.reflect.Modifier;

/**
 * hzsai 2019/11/6
 * usage:
 **/
@Component
public class ModifierPrinter {

    public static String print(Object object) {
        String mods = Modifier.toString(object.getClass().getModifiers());

        return mods;
    }

    public static String print(Class<?> clas) {
        String mods = Modifier.toString(clas.getModifiers());

        return mods;
    }
}
